export const inverseObject = (obj: Record<string, unknown>): Record<string, unknown> => {
  return Object.keys(obj).reduce((reversedObject, key) => {
    const value = obj[key] as string;
    reversedObject[value] = key;
    return reversedObject;
  }, {} as Record<string, unknown>);
};
